package com.zl.codereview.git.model;


import java.io.Serializable;
import java.util.Date;

/**
 * 文件代码
 */
public class ProjectFileCode implements Serializable {

    private String fileId;

    /**
     * 文件路径
     */
    private String path;

    /**
     * 文件名称
     */
    private String fileName;

    /**
     * 代码行
     */
    private int number;

    /**
     * 行代码文本
     */
    private String code;

    /**
     * 最后一次修改时间
     */
    private Date lastChangeTime;

    /**
     * 代码最后一次修改人
     */
    private GitAuthor author;

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getLastChangeTime() {
        return lastChangeTime;
    }

    public void setLastChangeTime(Date lastChangeTime) {
        this.lastChangeTime = lastChangeTime;
    }

    public GitAuthor getAuthor() {
        return author;
    }

    public void setAuthor(GitAuthor author) {
        this.author = author;
    }
}
